package com.ktwlsoft.archivemanage.domain.dao.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

@ApiModel("user_action_relation--角色行为关系-RoleActionRelation")
@Getter
@Setter
public class RoleActionRelation extends BaseEntity {

    /**角色Id**/
    @ApiModelProperty("角色Id")
    private Long roleId;

    /**角色名称**/
    @ApiModelProperty("角色名称")
    private String roleName;

    /**菜单Id**/
    @ApiModelProperty("行为Id")
    private Long actionId;

    /**菜单名称**/
    @ApiModelProperty("行为名称")
    private String actionName;

    public RoleActionRelation(){

    }

    public RoleActionRelation(Long roleId, String roleName, Long actionId, String actionName) {
        this.roleId = roleId;
        this.roleName = roleName;
        this.actionId = actionId;
        this.actionName = actionName;
    }
}
